package com.dz.lm.dao.log.read;

import java.util.Map;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.ReaderRepository;

@ReaderRepository("readLoginLogDao")
public interface LoginLogDao {
	/**
	 * 用token查询用户USERID
	 */
	Map<String, Object> qryUserIdByToken(Object token) throws DaoException;
	/**
	 * 用token查询用户USERID
	 */
	int qryUserIdbyToken(Object token) throws DaoException;
	/**
	 * 校验token是否有效
	 */
	Map<String, Object> checkAccessToken(Object token) throws DaoException;
	/**
	 * 通过用户Id查询终端设备Id
	 */
	Map<String, Object> qryPushIdByUserId(Map<String, Object> param) throws DaoException;
	
}